//index.js
//获取应用实例
var app = getApp();
var cardTeams;

Page({
  data: {
    cardTeams: [{
      "viewid": "1",
      "imgsrc": "../../../img/common/sata.png",
      "name": "科普知识1",

    }, {
      "viewid": "2",
      "imgsrc": "../../../img/common/dog.png",
      "name": "科普知识2",

    }, {
      "viewid": "3",
      "imgsrc": "../../../img/common/record.png",
      "name": "科普知识3",

    }, {
      "viewid": "4",
      "imgsrc": "../../../img/common/cow.png",
      "name": "小故事1",

    },
    {
      "viewid": "5",
      "imgsrc": "../../../img/common/earth.png",
      "name": "小故事2",

    }]
  },


  //事件处理函数
  bindViewTap: function () {
    wx.navigateTo({
      url: '../weixinlink/weixinlink'
      //  url: '../logs/logs'
    })
  },
  onLoad: function () {
    console.log('onLoad:' + app.globalData.domain)

  }


})